pp108 : Generate Web Service Operations on Database Metadata Interface

Generate Web Service Operations on Database Metadata Interface

This topic provides information on the fields that you fill while generating Web service operations on a Database Metadata, and the corresponding action that you should perform.

Field/Option

Description

User Action

Tables

Shows the DB Objects in a tabular format

Select to view the tables.

Views

Shows the DB Objects in view format

Select to view the database in its view format.

Web Service Folder Name

Location where the Web service will be created

The default folder is the current folder where the Database Metadata exists. Click to browse and select a project or folder to place the Web service.

Web Service Name

It contains the name of the new Web service. By default, the field displays the name of the Database Metadata as part of the Web service name.

Provide a different name if you do not want to retain the default one.

Generate One Web service Interface per Table/View

An option to generate separate Web service Interface for each table/view. This option is selected by default.

Select it to generate separate Web service interfaces for each table. You will see a Web service interface name for each table in the grid view below under the column Web service Interface Name. When you clear the check box, the column disappears from the grid.Keep the check box clear to generate a single Web service interface for all the tables.

Namespace

Namespace that is unique to the Web service

Provide a different namespace if you do not want to retain the default one.

Web Service Interface Name

The name of the Web Service Interface that contains all the Web service operations.

Provide a name for the Web Service Interface.If you had selected the Generate One Web service Interface per Table/View check box, this field name changes to Prefix for Web Service Interface Name. In that case, provide a prefix that will be attached to each Web service interface name that gets generated.

Database Table/View

Displays the tables/views in the database depending upon the earlier selection

Select the topmost check box to select all the tables/views. Otherwise, scroll through the list and select specific tables/views.For each table/view, you can determine the type of operation that you want to generate. The available options are:

  • Pagination Operations - To generate the Previous and Next operations
  • CUD Operations - To generate the Update operations (create, update, delete) for each selected table
  • Referential Data Retrieval Operations - To generate operations that govern the relations between selected tables
    For each table/view, select the corresponding check box under these columns to generate the required operations.


Related tasks

Generating Web Service Operations on a Database Metadata